﻿<%@ Page Language="C#" MasterPageFile="~/Views\Home\test.master" Inherits="System.Web.Mvc.ViewPage" %>
	<asp:Content ContentPlaceHolderID="test" runat="server"> 			
 		<div class="tab_container"> 
   		    <div class="register">
 			<div class="sub_content">Register</div>
   				 <div class="error" id="reg_error">Unable to register. Please fill all the necessary information.</div>
   				 <div class="error" id="reg_error_email">Unable to register. Incorrect format of email address.</div>
   				 <div class="error" id="reg_error_exist">Unable to register. Username already exists.</div>		
   				 <div class="success" id="reg_success">Registration Successful. Confirmation will be sent to email once account is activated.</div>			  	
   				 <form id="manage_books_form" action="" method="POST" >
   				  	<div class="mng_form"><label>Username:</label> <input class="mb_input" type="text" id="reg_username" name="u_username" />
		            </div>
   				  	<div class="mng_form"><label>First Name:</label> <input class="mb_input" type="text" id="reg_firstname" name="u_firstname" />
		            </div>
   				 	<div class="mng_form"><label>Last Name:</label> <input class="mb_input" type="text" id="reg_lastname" name="u_lastname" />
		            </div>
   				  	<div class="mng_form"><label>Email:</label> <input class="mb_input" type="text" id="reg_email" name="u_email" />
		            </div>
   				  	<div class="mng_form"><label>Contact Number:</label> <input class="mb_input" type="text" id="reg_contactnumber" name="u_contactnumber" />  				  		
		            </div>
   				  	<div class="mng_form"><input type="button" id="reg_button" value="Sign Up" />
                                          <input type="button" id="canc_button" value="Cancel"/>
		            </div>
   				 </form> 				
 			</div> 			
	 		</div>
 		</asp:Content> 	
 	<asp:Content ContentPlaceHolderID="menu" runat="server"> 			
 		<div id="menu_container"><br/>
 			<%= Html.Encode(ViewData["err"]) %>
 			<p>Welcome Guest!</p>
 			<hr/><br/>
 			<form action="/User/Login" method="POST">
 				Username: <input type="text" name="u_name" value=""/><br/><br/>
 				Password: <input type="password" name="p_word" value="" /><br/><br/>
 				<input type="submit" value="Log in" />
 				<br/>
 				<a href="Index">View Books</a>
 			</form>
 			<hr/><br/>
 		</div>			
 	</asp:Content>